package com.xxx.corejava.day1209;

public class Test2 {
    public static void main(String[] args) {
        I1 i1=new C1();
        i1.f1();

        if(i1 instanceof I2){
            ((I2)i1).f2();
        }

        System.out.println(I1.I);
    }
}
